package com.eshop.eshopmanagersystem.idal;

import com.eshop.eshopmanagersystem.model.TestInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 测试接口层
 */

@Mapper
@Component
public interface ITestDAL {
    /**
     * 测试读取数据库列表信息
     */
    @Select("select * from test")
    public List<TestInfo> getALLTest();
}
